package com.utooo.service.purchase;

import com.baomidou.mybatisplus.extension.service.IService;
import com.utooo.pojo.domain.purchase.task.PurchaseTaskManagementDO;
import com.utooo.pojo.dto.common.RestResult;
import com.utooo.pojo.dto.purchase.order.PurchaseOrderDTO;
import com.utooo.pojo.dto.purchase.task.PurchaseTaskTransferDTO;
import com.utooo.pojo.vo.purchase.DemandMaterialDetailVO;

import java.util.List;

public interface PurchaseTaskManagementService extends IService<PurchaseTaskManagementDO> {
    Boolean isCombined(String taskIds);

    List<DemandMaterialDetailVO> getMaterialListByTaskIds(String taskIds);

    RestResult<String> addOrder(PurchaseOrderDTO purchaseOrderDTO);

    Boolean transferTask(PurchaseTaskTransferDTO purchaseTaskTransferDTO);

    Boolean addTask(String demandId);
}